package com.hrcb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@Schema(description ="日记更新参数")
public class ReqDto {

    @Schema(description ="日记id")
    @NotBlank(message = "日记id不能为空")
    private String id;

    @Schema(description ="日记内容")
    @NotBlank(message = "日记内容不能为空")
    private String content;

    @Schema(description ="标签")
    private String label;

}

